PublishPress\WordPressReviews\ReviewsController A

Total Complexity 75
Dependencies 1
Dependents 1
Total lines 660
Lines of code 419
Logical lines of code 162
Comment lines 136
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
getTriggers()
A
40 9 69
getTriggerCode()
A
50 10 29
getTriggerGroup()
A
51 9 27
renderAdminNotices()
A
39 3 97
ajaxHandler()
S
48 6 33
getCurrentTrigger()
S
58 5 16
sortByPriority()
S
68 5 6
enqueueStyle()
S
49 2 45
rsortByPriority()
S
68 5 6
addHooks()
S
62 4 11
currentUserIsAdministrator()
S
65 4 8
screenIsAllowedToDisplayNotice()
S
62 2 12
__construct()
S
54 1 22
getDismissedTriggerGroups()
S
67 2 8
installationPath()
S
66 2 8
hideNotices()
S
66 2 8
init()
S
82 1 3
setUserAlreadyDid()
S
78 1 3
userSelectedAlreadyDid()
S
74 1 4
lastDismissedDate()
S
74 1 4